FROM ccr.ccs.tencentyun.com/edmondfrank/image-classification-demo:nightly

# Because of network reasons these I used the Tencent cloud image service to speed up building,
# The original Dockerfile please refer to Dockerfile.orgi

# 因为网络原因这里笔者使用了腾讯云的镜像服务做加速
# 原始的Dockerfile请参考Dockerfile.orgi

WORKDIR "/app"

ENV MIX_ENV="prod"
ENV MIX_HOME="/app/.mix"
ENV MIX_INSTALL_DIR="/app/.mix"
ENV BUMBLEBEE_CACHE_DIR="/app/.bumblebee"
ENV SHELL=/bin/bash
ENV PORT=7860

EXPOSE 7860

CMD ["elixir", "/app/run.exs"]
